﻿Esc:: Reload


$F3::
SettitleMatchMode Regex
Loop, 100{
WinActivate RuneScape
MouseClick,,784, 596,,10
Sleep 2000
Send {2 down}
Sleep 700
Send {2 up}
Sleep 700
MouseClick,,180, 359,,10
Sleep 111000
}

$F1::
#MaxHotkeysPerInterval 1000
SetTitleMatchMode, RegEx
CoordMode Pixel, Relative
CoordMode Mouse, Relative
GoSub, SetView
MouseClick,,910, 536,,10
Sleep 7000
Loop {
	GoSub, ClickLeft
	MouseClick,,910, 445,,10
	Sleep 10000
	GoSub, ClickLeft
	MouseClick,,910, 445,,10
	Sleep 10000
	GoSub, ClickLeft
	MouseClick,,615,745,,10
	Sleep 14000
	GoSub, ClickRight
	MouseClick,,1020, 445,,10
	Sleep 10000
	GoSub, ClickRight
	MouseClick,,1020, 445,,10
	Sleep 10000
	GoSub, ClickRight
	Sleep 7000
	MouseClick,,1300,760,,10
	Sleep 14000
}
Return

$F2::
Pause

ClickLeft:
Loop, 3{
	MouseClick,,910, 536,,10
	Sleep 7500
}
return

ClickRight:
Loop, 3{
	MouseClick,,1030, 536,,10
	Sleep 7500
}
return

SetView:
MouseMove 1070,415,4
Loop, 50 {
Click WheelDown
Sleep 10
}
MouseClick,, 1708,131,, 4
Sleep 250
Send {w down}
Sleep 1000
Send {w up}
Sleep 250
return